html,body,.layui-main{
    height:100%;
}
body{
    background:url(/dashijian/assets/images/login_bg.jpg) no-repeat center;
    background-size:cover;
}

.layui-main{
    position: relative;
}
.loginAndRegBox{
    width:400px;
    height:310px;
    position: absolute;
    left:50%;
    top:50%;
    transform: translate(-50%,-50%);
    background:#fff;
}
.loginAndRegBox .title{
    height:60px;
    background:url(/dashijian/assets/images/login_title.png) no-repeat center;
}

.reg-box{
    display: none;
}

.layui-form{
    padding:0 30px;
}

.links{
    display: flex;
    justify-content: flex-end;
}
.links a{
    font-size: 12px;
}


/*子绝父相*/
.layui-form-item{
    position: relative;
}

.layui-icon{
    position: absolute;
    left:10px;
    top:10px;
}

.layui-input{
    padding-left:32px;
}